<?php

return [
    'field' => 'logo',
    'logo' => [
        'mimes' => 'jpeg,bmp,png',
        'folder'=>'logo',
        'size' => 2*1024*1024,
        'rules' =>'required|mimes:jpeg,bmp,png, image/png',
        'messages' => [
            'logo.required'=>'请选择要上传的文件'
        ]
    ],
    'Co_Logo' => [
        'mimes' => 'jpeg,bmp,png',
        'folder'=>'co_logo',
        'size' => 2*1024*1024,
        'rules' =>'required|mimes:jpeg,bmp,png',
        'messages' => [
            'Co_Logo.required'=>'请选择要上传的文件'
        ]
    ],
    'avatar' => [
        'mimes' => 'jpeg,bmp,png',
        'folder'=>'avatar',
        'size' => 2*1024*1024,
        'rules' =>'required|mimes:jpeg,bmp,png,image/png',
        'messages' => [
            'avatar.required'=>'请选择要上传的文件'
        ]
    ],
    'app_path' => [
        'mimes' => 'zip,wgt,apk,wgtu',
        'folder'=>'apk',
        'size' => 10*1024*1024,
        'rules' =>'required|mimes:zip,wgt,apk,wgtu',
        'messages' => [
            'app_path.required'=>'请选择要上传的文件'
        ]
    ],
    'logo_path' => [
        'mimes' => 'jpeg,bmp,png',
        'folder'=>'logo_path',
        'size' => 10*1024*1024,
        'rules' =>'required|mimes:jpeg,bmp,png',
        'messages' => [
            'logo_path.required'=>'请选择要上传的文件'
        ]
    ],
    'common' => [
        'mimes' => 'jpeg,bmp,png',
        'folder'=>'common',
        'size' => 2*1024*1024,
        'rules' =>'required|mimes:jpeg,bmp,png',
        'messages' => [
            'common.required'=>'请选择要上传的文件'
        ]
    ],
    'area_img' => [
        'mimes' => 'jpeg,bmp,png',
        'folder'=>'area_img',
        'size' => 2*1024*1024,
        'rules' =>'required|mimes:jpeg,bmp,png',
        'messages' => [
            'area_img.required'=>'请选择要上传的文件'
        ]
    ],
    'services' => [
        'mimes' => 'application/zip,application/x-gzip',
        'folder'=>'services',
        'isOriginName'=> true,
        'size' => 50*1024*1024,
        'rules' =>'mimetypes:application/zip,application/x-gzip',
        'messages' => [
            'services.mimetypes'=>'上传文件格式不正确'
        ]
    ],
];
